package com.chatcompetition.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chatcompetition.domain.entity.CompetitionActivity;
import com.chatcompetition.domain.entity.Employee;

import java.util.List;

public interface CompetitionActivityService  extends IService<CompetitionActivity> {
//    List<CompetitionActivity> listAll();
    CompetitionActivity getById(Long id);

    boolean update(CompetitionActivity activity);
    boolean delete(Long id);
    List<CompetitionActivity> getAllCompetitions();

    // 查询所有竞赛超级管理员

    List<CompetitionActivity> listAllCompetitionsAddTeachers();

    // 查询所有活动超级管理员

    List<CompetitionActivity> listAllActivitiesAddTeachers();
    List<String> getSubCategoriesByCategory(String category);

    List<CompetitionActivity> getCompetitionsByFilters(String category, String subCategory);

}
